const { DataTypes } = require('sequelize')

const seq = require('../db/seq')
const Employee = require('./employee.model')
const EmpRole = require('./empRole.model')

const Role = seq.define('role', {
    id: { type: DataTypes.INTEGER, primaryKey: true },
    role: DataTypes.STRING
}, {
    tableName: 'role'
})
// Role.belongsToMany(Employee, {
//     through: EmpRole
// })
module.exports = Role